package com.softserve.sample.app;
 
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
 
/**
 * The persistent class for the contact database table.
 * 
 */
@Entity
@Table(name = "user")
public class User {
	
    private Integer id;
    private String name;
    
    User() {    	
    }
    
	public User(Integer id, String name) {
		super();
		this.id = id;
		this.name = name;
	}

	@Id
	public Integer getId() {
		return id;
	}
	public void setId(Integer id) {
		this.id = id;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
    
    
}
 
        